class Config:
    DEBUG = False
    username = 'root'
    password = "Wb@980324"
    host = "81.68.216.231"
    # MySQL默认端口是3306
    port = 3306
    database_name = "data"
    ##
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:Wb%40980324@81.68.216.231:3306/data'
    SQLALCHEMY_TRACK_MODIFICATIONS = False

    ##允许的最大token，根据模型查找匹配，4o为128000
    max_token = 120000

    ##上下文对话最大条数
    max_num_conversation = 10
    OPENROUTER_API_KEY = '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'

    ##下载图表存储路径
    save_file_path_prefix = '/home/langchain/financialAgent/excelpath'
    DASHSCOPE_API_KEY = 'sk-cebd5f4acb4a4831ad645017e5564699'
    THIRD_DATASOURCE_API_KEY = 'app-yNwirpWMgy6zZdwuRa5qJnUe'

    ##百度翻译
    TRANSLATE_APP_ID = '20221023001409795'
    TRANSLATE_SECRET_KEY = '6fSsZXXQLqTOFYUzYO7E'


    ##登录token加密秘钥
    LOGING_SECRET_KEY = 'ZBANK1234'


    ##调用dify的配置
    ##调用dify地址
    DIFY_BASE_URL = 'http://34.46.218.118/v1'
    DIFY_INVOKE_USER = 'wubing'
    DIFY_API_KEY_CHAT = 'app-JG1ZVo3SK2gywWWZJF3eP5mV'
    DIFY_API_KEY_CORN_TASK = ''

    ##上传文件路径
    # UPLOAD_FOLDER = '/Users/wubing/Desktop/pdfData/file'
    UPLOAD_FOLDER = '/home/pdf'